package com.example.codegen.service;

import com.example.codegen.model.Column;
import com.example.codegen.model.Datasource;
import com.example.codegen.model.Table;

import java.util.List;

public interface DatasourceService {

    List<Datasource> getDatasourceList();

    String getVersion(Datasource datasource);

    List<Table> getTables(Datasource datasource);

    Table getTable(Datasource datasource, String tableName);

    List<Column> getColumns(Datasource datasource, String tableName);
}
